package myJs.myPkg.antdMobile

import slinky.core._
import slinky.core.annotations.react

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

/**
 * Created by yz on 7/2/2022
 */
@react object Steps extends ExternalComponent {

  case class Props(
                    direction: js.UndefOr[String] = js.undefined
                  )

  @js.native
  @JSImport("antd-mobile", "Steps")
  object Component extends js.Object {

    val Step: js.Object = js.native

  }

  override val component = Component

  @react object Step extends ExternalComponent {

    case class Props(
                      direction: js.UndefOr[String] = js.undefined,
                      title: js.UndefOr[String] = js.undefined,
                      key: js.UndefOr[String] = js.undefined,
                    )

    override val component = Component.Step

  }

}


